package com.lagou.zk.controllecr;

import com.lagou.zk.service.IResumeService;
import com.lagou.zk.pojo.Resume;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
@RequestMapping("/resume")
public class ResumeController {

    @Autowired
    IResumeService resumeService;

    @RequestMapping("/getAll")
    public List<Resume> getAll() {
        return resumeService.getAll();
    }
}
